// 测试函数运行效果
const Singlation = require('../../dist/singleton').default

const single = new Singlation();
// const single_2 = new Singlation();
const ins1 = single.getInstance();
const ins2 = single.getInstance();

console.log(ins1)
console.log(ins2)

console.log(ins1 === ins2)

// console.log(single_2.getInstance() === ins1)